<template>
  <div class="main">
    <el-container>
      <el-main class="main-top">
        <Zzymain :lists="lists" />
      </el-main>
      <el-aside width="320px" class="zhang">
        <Aside />
        <Classify />
      </el-aside>
    </el-container>
  </div>
</template>

<script >
import { defineComponent } from "vue";
import { useStore } from "vuex";

import Aside from "./cpn/aside.vue";
import Classify from "./cpn/classify.vue";
import Zzymain from "./cpn/zzymain.vue";

export default defineComponent({
  components: { Aside, Zzymain, Classify },
  setup() {
    const store = useStore();
    const lists = ["推荐", "关注"];

    return { lists };
  },
});
</script>

<style scoped lang="less">
.main {
  width: 1100px;
  margin: auto;
  .zhang {
    margin-top: 10px;
  }
  .main-top {
    padding-top: 0px;
  }
  .kx {
    width: 100%;
    height: 81px;
    margin-bottom: 10px;
    > img {
      width: 100%;
      height: auto;
    }
  }
  .mainul {
    padding-top: 10px;
    .box-card {
      .el-card__body {
        > ul {
          display: flex;
          margin: 0;
          padding: 0;
          font-size: 20px;
          > li {
            width: 100px;
            height: 30px;
            text-align: center;
            line-height: 30px;
            list-style: none;
          }
        }
      }
    }
  }
  .content {
    .issue {
      display: flex;
    }
  }
  .write {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    .writel {
      display: flex;
    }
  }
  .problem {
    text-align: center;
    margin-top: 20px;
    .el-icon {
      font-size: 30px;
      margin-bottom: 10px;
    }
    > ul {
      display: flex;
      padding: 0;
      > li {
        display: block;
        width: 80;
        margin-left: 10px;
        list-style: none;
      }
    }
  }
  .open {
    padding: 1px 10px 10px 10px;
    background-color: #f9f9fa;
  }
  .zzybutton {
    margin-top: 10px;
    height: 40px;
    width: 100%;
    color: #409eff;
  }
  .el-card__body {
    padding: 0px;
  }
}
.z {
  color: #409eff;
}
</style>
